package com.rubbervalley.uyo.domain;

public class UploadBean {
	 private Integer id;
	 
	 private String original;

     private String url;
     
     private Integer fileType;
     
     private String state;
     
     private String name;
     
     private String message;

	public Integer getFileType()
	{
		return fileType;
	}

	public void setFileType(Integer fileType)
	{
		this.fileType = fileType;
	}

	public String getOriginal()
	{
		return original;
	}

	public void setOriginal(String original)
	{
		this.original = original;
	}

	public String getUrl()
	{
		return url;
	}

	public void setUrl(String url)
	{
		this.url = url;
	}

	public String getState()
	{
		return state;
	}

	public void setState(String state)
	{
		this.state = state;
	}
	public String getName()
	{
		return name;
	}
	
	public void setName(String name)
	{
		this.name = name;
	}
	@Override
	public String toString(){
		return "{ \"id\": \""+this.id
				+"\", \"name\": \""+ this.name
				+"\", \"message\": \""+ this.message
				+"\", \"original\": \""+ this.original
				+"\",\"state\": \""+this.state
				+"\", \"fileType\": \""+this.fileType
				+"\", \"url\": \""+this.url + "\"}";
	}

	public Integer getId()
	{
		return id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

}
